package org.fhawk.tinyspring.mvc.annotation;

import org.fhawk.tinyspring.ioc.annotation.BaseBean;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@BaseBean
public @interface Param {

    String value() default "";

    /**
     * 参数是否必须
     *
     * @return
     */
    boolean required() default false;
}
